//导入模块
let axios = require('../utils/axios');
module.exports = {
  //获取轮播图api
  getBanners() {
    let url = 'http://123.56.83.71:2004/getBanner';
   return axios.get(url);
  },
  //获取分类数据
  getCategory(){
    let url = 'http://yimei-api.bestyuemei.com/ym/30008/getYmProductTopicList'
    return axios.post(url,{lastProductTopicId:4},1);
  }
}